package homework33;

public class Mission {
    private String soldierName;//情报人员...
    private int enemyNum;//敌军数量...

    public Mission(String soldierName , int enemyNum){
        this.enemyNum = enemyNum;
        this.soldierName = soldierName;
    }
    public void setSoldierName(String soldierName){
        this.soldierName = soldierName;
    }
    public String getSoldierName(){
        return this.soldierName;
    }
    public void setEnemyNum (int enemyNum){
        this.enemyNum = enemyNum;
    }
    public int getEnemyNum(){
        return this.enemyNum;
    }
}
